/**
 * 基础路由
 * @type { *[] }
 */
import Layout from '@/layout/index.vue'
const constantRouterMap = [
  {
    path: '/',
    name: 'index',
    component: Layout,
    redirect: { name: 'DownIndex' },
    children: [
      {
        path: '/example',
        name: 'ExampleHelloIndex',
        component: () => import('@/views/example/hello/Index.vue')
      },
      {
        path: '/down',
        name: 'DownIndex',
        component: () => import('@/views/down/index.vue')
      },{
        path: '/addDown',
        name: 'AddDown',
        component: () => import('@/views/down/add.vue')
      }
    ]
  },
]

export default constantRouterMap